option <OPTION-NAME> <0-250> [ascii|hexstring|ip]
option <OPTION-NAME> <0-250> [ascii|hexstring|ip]
<OPTION-NAME> |
Configures the option name |
<0-250> |
Configures the DHCP option code from 0 - 250 |
ascii |
Configures the DHCP option as an ASCII string |
hexstring |
Configures the DHCP option as a hexadecimal string |
ip |
Configures the DHCP option as an IP address |
Defines non-standard DHCP option codes (0-254)
Note
An option name in ASCII format accepts a backslash (\) as an input, but is not displayed in the output. Use the show running-config command to view the output. Use a double backslash to represent a single backslash.nx9500-6C8809(config-dhcp-policy-test)#option option1 200 ascii
nx9500-6C8809(config-dhcp-policy-test)#show context dhcp-server-policy test option option1 200 ascii nx9500-6C8809(config-dhcp-policy-test)#
no (dhcpv4-server-policy-config) |
Removes DHCP server options |